#ifndef QTEMPTEXT_H
#define QTEMPTEXT_H

#include "common.h"

class QTempText : public QTextEdit
{
    Q_OBJECT
public:
    QTempText();
protected:
    void keyPressEvent(QKeyEvent *event) override;
signals:
    void returnPressed(); // 自定义信号

};

#endif // QTEMPTEXT_H
